package de.szut.gui.language;

import javax.swing.JLabel;

public class TranslatableLabel extends JLabel implements TranslatableComponent {

	private static final long serialVersionUID = -2095650083407329276L;
	
	@Override
	public void translate(String translation) {
		setText(translation);
	}

	@Override
	public String getTranslation() {
		return getText();
	}

}
